<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:7627/AnnounceService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.BGM" />
  <xs:import schemaLocation="http://localhost:7627/AnnounceService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" />
  <xs:import schemaLocation="http://localhost:7627/AnnounceService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" />
  <xs:import schemaLocation="http://localhost:7627/AnnounceService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" />
  <xs:complexType name="ArrayOfPurchaseRequestItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PurchaseRequestItem" nillable="true" type="tns:PurchaseRequestItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPurchaseRequestItem" nillable="true" type="tns:ArrayOfPurchaseRequestItem" />
  <xs:complexType name="PurchaseRequestItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="Amount" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="BgExpId" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HaveItem" nillable="true" type="xs:boolean" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.BGM" minOccurs="0" name="MasBudgetExpense" nillable="true" type="q1:MasBudgetExpense" />
      <xs:element minOccurs="0" name="MasResourceItem" nillable="true" type="tns:MasResourceItem" />
      <xs:element minOccurs="0" name="MaxPrice" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="MinPrice" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="OriQty" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PrId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PrItemId" type="xs:int" />
      <xs:element minOccurs="0" name="Price" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="PurchaseRequest" nillable="true" type="tns:PurchaseRequest" />
      <xs:element minOccurs="0" name="Qty" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResItemId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="StdPrice" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PurchaseRequestItem" nillable="true" type="tns:PurchaseRequestItem" />
  <xs:complexType name="MasResourceItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiinCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GpscCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ImageName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MasResourceSubGroup" nillable="true" type="tns:MasResourceSubGroup" />
      <xs:element minOccurs="0" name="MasUnit" nillable="true" type="tns:MasUnit" />
      <xs:element minOccurs="0" name="MaxPrice" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="MaxQty" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MinPrice" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="MinQty" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OldCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResItemId" type="xs:int" />
      <xs:element minOccurs="0" name="ResSubGrpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="StdPrice" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="UnitId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasResourceItem" nillable="true" type="tns:MasResourceItem" />
  <xs:complexType name="MasResourceSubGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmountOfItem" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DpTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IncCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MasDepreciationType" nillable="true" type="tns:MasDepreciationType" />
      <xs:element minOccurs="0" name="MasResourceGroup" nillable="true" type="tns:MasResourceGroup" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OldCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResGrpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ResSubGrpId" type="xs:int" />
      <xs:element minOccurs="0" name="UnspscCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasResourceSubGroup" nillable="true" type="tns:MasResourceSubGroup" />
  <xs:complexType name="MasDepreciationType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DpRateYear" type="xs:decimal" />
      <xs:element minOccurs="0" name="DpTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="MaxLifeYear" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxRateYear" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="MinLifeYear" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MinRateYear" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ScrapValue" type="xs:decimal" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasDepreciationType" nillable="true" type="tns:MasDepreciationType" />
  <xs:complexType name="MasResourceGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmountOfSubGroup" type="xs:int" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="AssetAccount" nillable="true" type="q2:MasAccount" />
      <xs:element minOccurs="0" name="AssetAccountId" nillable="true" type="xs:int" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="BreakAccount" nillable="true" type="q3:MasAccount" />
      <xs:element minOccurs="0" name="BreakAccountId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="ConsumeAccount" nillable="true" type="q4:MasAccount" />
      <xs:element minOccurs="0" name="ConsumeAccountId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="CumdepreAccount" nillable="true" type="q5:MasAccount" />
      <xs:element minOccurs="0" name="CumdepreAccountId" nillable="true" type="xs:int" />
      <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="DepreAccount" nillable="true" type="q6:MasAccount" />
      <xs:element minOccurs="0" name="DepreAccountId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DpTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MasDepreciationType" nillable="true" type="tns:MasDepreciationType" />
      <xs:element minOccurs="0" name="MasResourceType" nillable="true" type="tns:MasResourceType" />
      <xs:element minOccurs="0" name="MinPriceCalDepreciation" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OldCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResGrpId" type="xs:int" />
      <xs:element minOccurs="0" name="ResTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasResourceGroup" nillable="true" type="tns:MasResourceGroup" />
  <xs:complexType name="MasResourceType">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmountOfGroup" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DepreciationCalculate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasResourceType" nillable="true" type="tns:MasResourceType" />
  <xs:complexType name="MasUnit">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Sign" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UnitId" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasUnit" nillable="true" type="tns:MasUnit" />
  <xs:complexType name="PurchaseRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="BgYear" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CancelDate" nillable="true" type="xs:dateTime" />
      <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="CancelEmp" nillable="true" type="q7:Employee" />
      <xs:element minOccurs="0" name="CancelEmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CommitteeGroup" nillable="true" type="tns:CommitteeGroup" />
      <xs:element minOccurs="0" name="CommitteeGroupId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ConfirmDate" nillable="true" type="xs:dateTime" />
      <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="ConfirmEmp" nillable="true" type="q8:Employee" />
      <xs:element minOccurs="0" name="ConfirmEmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DurCountId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="DurTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="DurationCount" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="DurationType" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="MasPurchaseMethod" nillable="true" type="tns:MasPurchaseMethod" />
      <xs:element minOccurs="0" name="MasPurchaseRegular" nillable="true" type="tns:MasPurchaseRegular" />
      <xs:element minOccurs="0" name="MasPurchaseType" nillable="true" type="tns:MasPurchaseType" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PcMethodId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PcMethodReason" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PcTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PrId" type="xs:int" />
      <xs:element minOccurs="0" name="Priority" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="PriorityId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Progress" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="ProgressId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PurchaseDate" nillable="true" type="xs:dateTime" />
      <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="PurchaseEmp" nillable="true" type="q9:Employee" />
      <xs:element minOccurs="0" name="PurchaseEmpId" nillable="true" type="xs:int" />
      <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="PurchaseJobSite" nillable="true" type="q10:JobSite" />
      <xs:element minOccurs="0" name="PurchaseJobSiteId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Reason" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RegularId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RequireDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="RequireDuration" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" minOccurs="0" name="YearType" nillable="true" type="q11:YearType" />
      <xs:element minOccurs="0" name="YearTypeId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PurchaseRequest" nillable="true" type="tns:PurchaseRequest" />
  <xs:complexType name="CommitteeGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="CommitteeGroupId" type="xs:int" />
      <xs:element minOccurs="0" name="Committees" nillable="true" type="tns:ArrayOfCommittee" />
      <xs:element minOccurs="0" name="CreateByPprId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CommitteeGroup" nillable="true" type="tns:CommitteeGroup" />
  <xs:complexType name="ArrayOfCommittee">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Committee" nillable="true" type="tns:Committee" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCommittee" nillable="true" type="tns:ArrayOfCommittee" />
  <xs:complexType name="Committee">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ComFunctionId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ComPositionId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ComTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteeFunction" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CommitteeGroup" nillable="true" type="tns:CommitteeGroup" />
      <xs:element minOccurs="0" name="CommitteeGroupId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteeId" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteePosition" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CommitteeType" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DeleteReason" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="EmpName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmpPositionName" nillable="true" type="xs:string" />
      <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="Employee" nillable="true" type="q12:Employee" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Committee" nillable="true" type="tns:Committee" />
  <xs:complexType name="IcmMasLookUp">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpId" type="xs:int" />
      <xs:element minOccurs="0" name="LookUpName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="MasLookUpType" nillable="true" type="tns:IcmMasLookUpType" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="IcmMasLookUp" nillable="true" type="tns:IcmMasLookUp" />
  <xs:complexType name="IcmMasLookUpType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="LookUpTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="IcmMasLookUpType" nillable="true" type="tns:IcmMasLookUpType" />
  <xs:complexType name="MasPurchaseMethod">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmountMax" type="xs:decimal" />
      <xs:element minOccurs="0" name="AmountMin" type="xs:decimal" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsBid" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="MasPurchaseType" nillable="true" type="tns:MasPurchaseType" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PcMethodId" type="xs:int" />
      <xs:element minOccurs="0" name="PcTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="Reason" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasPurchaseMethod" nillable="true" type="tns:MasPurchaseMethod" />
  <xs:complexType name="MasPurchaseType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="PcTypeDescr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PcTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="PcTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RestoredBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RestoredWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasPurchaseType" nillable="true" type="tns:MasPurchaseType" />
  <xs:complexType name="MasPurchaseRegular">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RegularId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasPurchaseRegular" nillable="true" type="tns:MasPurchaseRegular" />
</xs:schema>